/*
 * @Author: shimmer
 * @Date: 2022-04-23 08:29:50
 * @LastEditors: zhangzhen
 * @LastEditTime: 2023-02-16 10:39:50
 * @Description:
 *
 */
import React, {useState,useEffect} from 'react';
import {Route, Routes, Navigate, HashRouter,} from 'react-router-dom';
import FormPage from "./FormPage"
import UseForm from './UseForm';



const BasicRouter = () => {
    return (
        <HashRouter>
            <Routes>
                <Route path="/formDesign" element={<FormPage  />} />
                <Route path="/use" element={<UseForm />} />
                <Route path="/" element={<Navigate to="/formDesign" />} />
            </Routes>
        </HashRouter>
    );
};

export default BasicRouter;
